#ifndef __IRENDER_H__
#define __IRENDER_H__
#include "base.h"

class IRender
{	
protected:
	int m_nRenderW;
	int m_nRenderH;
	HWND m_renderHwnd;
	BOOL m_bSupportYV12;
public:
	IRender();
	virtual ~IRender();

	void SetWH(int, int, HWND);
	BOOL SupportYV12();
	virtual void init() = 0;
	virtual void wtl_show(HWND, AVFrame*) = 0;
	virtual string GetName() = 0;
};
#endif